package com.aaa.statistics.feign;


import com.aaa.entity.DictData;
import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 远程调用UserController 中的方法
 */
@FeignClient(value = "his-open-system")
public interface DictDataFeign {
    /**
     * 通过字典类型查询对应的字典信息(传后端)
     * @param type
     * @return
     */
    @GetMapping("/system/dict/data/listType/{type}")
    public List<DictData> listType(@PathVariable String type);


}
